home *** CD-ROM | disk | FTP | other *** search
/ Resource Library: Multimedia / Resource Library: Multimedia.iso / sgml / msdos / sgml07 / unix.cfg < prev    next >
Encoding:
Text File  |  1992-03-25  |  3.7 KB  |  136 lines

  1. /* unix.cfg: Configuration file for sgmls on Unix. */
  2.  
  3. /* Define HAVE_EXTENDED_PRINTF if your *printf functions supports
  4. X/Open extensions; if they do, then, for example,
  5.  
  6.   printf("%2$s%1$s", "bar", "foo")
  7.  
  8. should print `foobar'.  */
  9.  
  10. /* #define HAVE_EXTENDED_PRINTF 1 */
  11.  
  12. /* Define HAVE_CAT if your system provides the X/Open message
  13. catalogue functions catopen() and catgets(), and you want to use them.
  14. An implementations of these functions is included and will be used if
  15. you don't define this.  On SunOS 4.1.1, if you do define this you
  16. should set CC=/usr/xpg2bin/cc in the makefile. */
  17.  
  18. /* #define HAVE_CAT 1 */
  19.  
  20. #ifdef __STDC__
  21. /* Define this if your compiler supports prototypes. */
  22. #define USE_PROTOTYPES 1
  23. #endif
  24.  
  25. #ifdef __OBJECTCENTER__
  26. /* Define this if you have <varargs.h> but not <stdarg.h> */
  27. #define VARARGS 1
  28. #endif
  29.  
  30. #ifndef USE_PROTOTYPES
  31. /* Use VARARGS if prototypes are not supported. */
  32. #ifndef VARARGS
  33. #define VARARGS 1
  34. #endif
  35. #endif /* not USE_PROTOTYPES */
  36.  
  37. /* Define this if you do not have strerror(). */
  38. #define STRERROR_MISSING 1
  39.  
  40. /* Define this unless the character testing functions in ctype.h
  41. are defined for all values representable as an unsigned char.  You do
  42. not need to define this if your system is ANSI C conformant.  You
  43. should define for old Unix systems. */
  44. /* #define USE_ISASCII 1 */
  45.  
  46. /* Define this if your system provides the BSD style string operations
  47. rather than ANSI C ones (eg bcopy() rather than memcpy(), and index()
  48. rather than strchr()). */
  49. /* #define BSD_STRINGS 1 */
  50.  
  51. /* Define this if you have getopt(). */
  52. #define HAVE_GETOPT 1
  53.  
  54. #define PATH_FILE_SEP ':'
  55. #define DEFAULT_PATH "/usr/local/lib/sgml/%O/%C/%T:%N.%X:%N.%D"
  56. #define PATH_ENV_VAR "SGML_PATH"
  57. #define SYSID_FILE_SEP ':'
  58. #define MIN_DAT_SUBS_FROM " /"
  59. #define MIN_DAT_SUBS_TO   "_%"
  60.  
  61. /* Define this if you have access(). */
  62. #define HAVE_ACCESS 1
  63.  
  64. /* Define this if you have <unistd.h>. */
  65. #define HAVE_UNISTD_H 1
  66.  
  67. /* Define this if you have waitpid(). */
  68. #define HAVE_WAITPID 1
  69.  
  70. /* Define this to omit tracing functions */
  71. /* #define FINAL 1 */
  72.  
  73. /* Define this you want support for subdocuments.  This is implemented
  74. using features that are not part of Standard C. */
  75. #define SUPPORT_SUBDOC 1
  76.  
  77. /* Define this if your system is POSIX.1 (ISO 9945-1:1990) compliant. */
  78. #define POSIX 1
  79.  
  80. /* POSIX.1 compliant systems will certainly have access(), <unistd.h>,
  81. and waitpid(). */
  82. #ifdef POSIX
  83. #ifndef HAVE_ACCESS
  84. #define HAVE_ACCESS 1
  85. #endif
  86. #ifndef HAVE_UNISTD_H
  87. #define HAVE_UNISTD_H 1
  88. #endif
  89. #ifndef HAVE_WAITPID
  90. #define HAVE_WAITPID 1
  91. #endif
  92. #endif /* POSIX */
  93.  
  94. /* Define this if you have the vfork() system call. */
  95. #define HAVE_VFORK 1
  96.  
  97. /* Define this if you have <vfork.h>. */
  98. #define HAVE_VFORK_H 1
  99.  
  100. /* Define this if you don't have <stdlib.h> */
  101. /* #define STDLIB_H_MISSING 1 */
  102.  
  103. /* Define this if you don't have <stddef.h> */
  104. /* #define STDDEF_H_MISSING 1 */
  105.  
  106. /* Define this if you don't have remove(); unlink() will be used instead. */
  107. #define REMOVE_MISSING 1
  108.  
  109. /* Define this if you don't have raise(); kill() will be used instead. */
  110. #define RAISE_MISSING 1
  111.  
  112. /* Universal pointer type. */
  113. /* Use this if your compiler doesn't fully support void * */
  114. /* typedef char *UNIV; */
  115. /* Otherwise use this */
  116. typedef void *UNIV;
  117.  
  118. typedef void VOID;            /* void as a function return type */
  119.  
  120. /* If you don't have an ANSI C conformant <limits.h>, define
  121. CHAR_SIGNED as 1 or 0 according to whether the `char' type is signed.
  122. The <limits.h> on some versions of System Release V 3.2 is not ANSI C
  123. conformant: the value of CHAR_MIN is 0 even though the `char' type is
  124. signed. */
  125.  
  126. /* #define CHAR_SIGNED 1 */
  127. /* #define CHAR_SIGNED 0 */
  128. #ifndef CHAR_SIGNED
  129. #include <limits.h>
  130. #if CHAR_MIN < 0
  131. #define CHAR_SIGNED 1
  132. #else
  133. #define CHAR_SIGNED 0
  134. #endif
  135. #endif /* not CHAR_SIGNED */
  136.